package com.example.myImpl;

import com.example.myDll.InfraDataCallBackDll;
import com.sun.jna.Pointer;

public class InfraDataCallBackImpl implements InfraDataCallBackDll {
    public static final int WM_DM_ERROR = 0;
    public static final int WM_DM_CAPTURE_FRAME = 1;
    public static final int WM_CAPTUREINFRA_OVER = 2;
    public static final int WM_DM_PLAYER_ERROR = 3;
    public static final int WM_PLAYBACK_OVER = 4;
    public static final int WM_DM_TEMP_VALUE = 5;
    public static final int WM_DM_TEMP_ALARM = 6;
    @Override
    public void fMessCallBack(int msg, Pointer pBuf, int dwBufLen){
        switch (msg){
            case WM_DM_TEMP_VALUE:
                System.out.println("测温消息");

            case WM_DM_CAPTURE_FRAME:
                System.out.println("原始数据已采集帧数，pBuf对应tagCaptureFrame");
        }

    }
}
